Optimal. Leaf size=28 \[ -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \cosh ^3(x)}}{\sqrt {a}}\right )}{3 \sqrt {a}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {3309, 272, 65,
214} \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \cosh ^3(x)}}{\sqrt {a}}\right )}{3 \sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 214
Rule 272
Rule 3309
Rubi steps
\begin {align*} \int \frac {\tanh (x)}{\sqrt {a+b \cosh ^3(x)}} \, dx &=\text {Subst}\left (\int \frac {1}{x \sqrt {a+b x^3}} \, dx,x,\cosh (x)\right )\\ &=\frac {1}{3} \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,\cosh ^3(x)\right )\\ &=\frac {2 \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \cosh ^3(x)}\right )}{3 b}\\ &=-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \cosh ^3(x)}}{\sqrt {a}}\right )}{3 \sqrt {a}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 28, normalized size = 1.00 \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b \cosh ^3(x)}}{\sqrt {a}}\right )}{3 \sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 7.13, size = 21, normalized size = 0.75
method | result | size |
derivativedivides | \(-\frac {2 \arctanh \left (\frac {\sqrt {a +b \left (\cosh ^{3}\left (x \right )\right )}}{\sqrt {a}}\right )}{3 \sqrt {a}}\) | \(21\) |
default | \(-\frac {2 \arctanh \left (\frac {\sqrt {a +b \left (\cosh ^{3}\left (x \right )\right )}}{\sqrt {a}}\right )}{3 \sqrt {a}}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\tanh {\left (x \right )}}{\sqrt {a + b \cosh ^{3}{\left (x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {\mathrm {tanh}\left (x\right )}{\sqrt {b\,{\mathrm {cosh}\left (x\right )}^3+a}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________